package Hibernate.dao;

import java.util.Map;

/**
 * AbstractMobileAdministrator entity provides the base persistence definition
 * of the MobileAdministrator entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMobileAdministrator implements
		java.io.Serializable {

	// Fields

	private String adminId;
	private String adminPsd;
	private String epname;

	// Constructors

	/** default constructor */
	public AbstractMobileAdministrator() {
	}

	/** full constructor */
	public AbstractMobileAdministrator(String adminId, String adminPsd,
			String epname) {
		this.adminId = adminId;
		this.adminPsd = adminPsd;
		this.epname = epname;
	}

	// Property accessors

	public String getAdminId() {
		return this.adminId;
	}

	public void setAdminId(String adminId) {
		this.adminId = adminId;
	}

	public String getAdminPsd() {
		return this.adminPsd;
	}

	public void setAdminPsd(String adminPsd) {
		this.adminPsd = adminPsd;
	}

	public String getEpname() {
		return this.epname;
	}

	public void setEpname(String epname) {
		this.epname = epname;
	}
	
	public void setInfo(Map<String, String> value) {
		// TODO Auto-generated method stub
		if(value.containsKey("adminId")){
			this.setAdminId(value.get("adminId"));
		}
		if(value.containsKey("adminPsd")){
			this.setAdminPsd(value.get("adminPsd"));
		}
		if(value.containsKey("epname")){
			this.setEpname(value.get("epname"));
		}
	}

}